package edu.fsu.cs.SHPE;

import android.graphics.drawable.Drawable;

public class Sponsor {
	private long id, levelId;
	private String name, website;
	
	
	static public boolean parseBoolean(String str){
		if(str.equalsIgnoreCase("yes"))
			return true;
		else
			return false;
	}
	
	public boolean containsSponsorshipLevel(long levelId){
		if(this.levelId == levelId)
			return true;
		else
			return false;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getLevelId() {
		return levelId;
	}
	public void setLevelId(long levelId) {
		this.levelId = levelId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getWebsite() {
		return website;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
	public boolean isRecruiting() {
		return recruiting;
	}
	public void setRecruiting(boolean recruiting) {
		this.recruiting = recruiting;
	}
	public boolean isAcceptsInternationStudents() {
		return acceptsInternationStudents;
	}
	public void setAcceptsInternationStudents(boolean acceptsInternationStudents) {
		this.acceptsInternationStudents = acceptsInternationStudents;
	}
	public Drawable getLogo() {
		return logo;
	}
	public void setLogo(Drawable logo) {
		this.logo = logo;
	}
	private boolean recruiting, acceptsInternationStudents;
	private Drawable logo;

}
